﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace B.WMS.WMSStaticEntities
{
    public static class Sentities
    {
        public static class EnumExtensions
        {
            /// <summary>
            /// 盘点类型
            /// </summary>
            public enum InventoryType
            {
                [Description("存货盘点")]
                StockTaking = 1,

                [Description("全盘")]
                Full = 2,

                [Description("抽盘")]
                Random = 3
            }

            /// <summary>
            /// 盘点结果
            /// </summary>
            public enum InventoryResult
            {
                [Description("草稿")]
                Draft = 1,

                [Description("有盈亏")]
                HasDiff = 2,

                [Description("无盈亏")]
                NoDiff = 3
            }

            /// <summary>
            /// 盘点状态（出入库）
            /// </summary>
            public enum InventoryStatus
            {
                [Description("未出库")]
                NotOutbound = 1,

                [Description("部分出库")]
                PartOutbound = 2,

                [Description("已出库")]
                FullOutbound = 3,

                [Description("未入库")]
                NotInbound = 1,

                [Description("部分入库")]
                PartInbound = 2,

                [Description("已入库")]
                FullInbound = 3
            }

            /// <summary>
            /// 明细盘点状态
            /// </summary>
            public enum CheckStatus
            {
                [Description("盘盈")]
                Profit = 1,

                [Description("盘亏")]
                Loss = 2,

                [Description("无盈亏")]
                NoDiff = 3
            }
        }
    }
}
